<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="jpath" value="${pageContext.request.contextPath }"/>
<!DOCTYPE html >
<html >

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,minimum-scale=1.0,user-scalable=0" />
<script type="text/javascript" src="${jpath}/static/FrontStatic/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="${jpath}/static/FrontStatic/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="${jpath}/static/FrontStatic/css/bootstrap.min.css"/>
<link href="${jpath}/static/FrontStatic/css/main.css" rel="stylesheet" type="text/css" />
<link href="${jpath}/static/FrontStatic/css/zcztbank.css" rel="stylesheet" type="text/css" />

<title>无标题文档</title>
</head>

<body>
	<div class="bg">
        <div class="row title">
            <div class="col-2" align="center">
                <img id="back" src="${jpath}/static/FrontStatic/image/back_1.png" />
            </div>
            <div class="col-8" align="center">注册状态</div>
            <div class="col-2" align="center">
            </div>
        </div>
        <div class="row">
            <div class="col-12 nav_s">
                <span class="nav_s_o nav_span">我的</span>
                <input id="state" type="hidden" value="${state }">
                <span class="nav_span">所有</span>
            </div>
        </div>

        <div class="row roll">
            <div class="col-12">
                <div id="demo" class="carousel slide" data-ride="carousel">
                  <!-- 指示符 -->
                    <ul class="carousel-indicators">
                        <li data-target="#demo" data-slide-to="0" class="active"></li>
                        <li data-target="#demo" data-slide-to="1"></li>
                        <li data-target="#demo" data-slide-to="2"></li>
                    </ul>
                  <!-- 轮播图片 -->
                    <div class="carousel-inner">
                        <div class="carousel-item active">
                            <img src="${jpath}/static/FrontStatic/image/1.png"/>
                            <div class="carousel-caption">
                                <p>描述文字!</p>
                            </div>
                        </div>
                        <div class="carousel-item">
                            <img src="${jpath}/static/FrontStatic/image/1.png"/>
                            <div class="carousel-caption">
                                <p>描述文字!</p>
                            </div>
                        </div>
                        <div class="carousel-item">
                            <img src="${jpath}/static/FrontStatic/image/1.png" />
                            <div class="carousel-caption">
                                <p>描述文字!</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <div id="content">
	        <div class="row news" style="padding: 1rem 2rem;font-size: 0.8rem;">
            </div>
        </div>
        </div>
    </div>
    
<script src="${jpath}/js/system_plugins.js"></script>
<script>

	var jpath="${jpath}";
    $(function(){
   		$("#back").click(function(){
			location.href="${jpath}/front/index";
		});
    	var colM = 	[{
						name:"UsersId"
					},{
						name:"AttachmentPath"
					},{
						name:"EnterpriseName"
					},{
						name:"CompanyProfile"
					},{
						name:"RegistrationTime"
					}];
		
		var state=$("#state").val();
        $(".nav_span").click(function(){
            var _this=$(this);
            $(".nav_s span").each(function(index,e){
                $(e).removeClass("nav_s_o");
            });
            _this.addClass("nav_s_o");
			var par={pageNum:1,pageSize:10,state:state,is:_this.index()};
			$("#content").loadInfo(colM,par,"${jpath}/FrontRegistered/AllStatus",jpath,false);
        });
        
		var par={pageNum:1,pageSize:10,state:state,is:"0"};
		$("#content").loadInfo(colM,par,"${jpath}/FrontRegistered/AllStatus",jpath,false);
    });
</script>
</body>
</html>
 